package com.itcoon.transform.starter;

import com.itcoon.transform.starter.build.helper.ListHelper;
import com.itcoon.transform.starter.build.helper.PageHelper;
import com.itcoon.transform.starter.build.helper.SimpleHelper;

public class Transformer {

    public static <T, R> SimpleHelper<R> to(Class<R> toClass) {
        return new SimpleHelper<>(toClass);
    }

    public static <R> ListHelper<R> toList(Class<R> toClass) {
        return new ListHelper<>(toClass);
    }

    public static <T, R> PageHelper<R> toPage(Class<R> toClass) {
        return new PageHelper<>(toClass);
    }

}
